package com.xgpro.domain.studycentre.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @author tx
 * @version 1.0
 * @date 2019/8/28 21:31
 */
@Data
@Table(name = "t_teacher_student")
public class TeacherStudent implements Serializable{
    /**
     * 主键
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;

    /**
     * 教师id
     */
    private Integer teaId;

    /**
     * 学生id
     */
    private Integer stuId;

    /**
     * 学生评价
     */
    private String stuEvaluation;

    /**
     * 学生评价时间
     */
    private Date stuEvaTime;

    /**
     * 老师评价
     */
    private String teaEvaluation;

    /**
     * 老师评价时间
     */
    private Date teaEvaTime;

    /**
     * 师生状态
     */
    private Integer status;

    /**
     * 师生解除状态
     */
    private Integer cancleFlag;

    /**
     * 申请时间
     */
    private Date applyTime;

    /**
     * 徒弟表是否已评估
     */
    @Column(name="is_stu_eva")
    private Integer isStuEva;

    /**
     * 导师表是否已评估
     */
    @Column(name="is_tea_eva")
    private Integer isTeaEva;

    /**
     * 学生评估表id
     */
    @Column(name="stu_eva_id")
    private Integer stuEvaId;

    /**
     * 导师评估表id
     */
    @Column(name="tea_eva_id")
    private Integer teaEvaId;

    /**
     * 学生评估表地址
     */
    @Column(name="stu_eva_url")
    private String stuEvaUrl;

    /**
     * 导师评估表地址
     */
    @Column(name="tea_eva_url")
    private String teaEvaUrl;



}
